<template>
	<TablePlus :columns="columns" :request-api="RequestManagerLogList">
		<template #createtime="{ row }">
			<span>{{ dayjs(row.createtime).format('YYYY-MM-DD HH:mm:ss') }}</span>
		</template>
	</TablePlus>
</template>

<script setup lang="ts">
import { api } from '@/api/index'
import { dayjs } from 'element-plus'
const { RequestManagerLogList } = api
const columns = [
	{ prop: 'nick', label: '昵称',width:150 },
	{ prop: 'content', label: '内容' },
	{ prop: 'ip', label: 'IP' },
	{ prop: 'createtime', label: '创建时间' }
]
</script>

<style scoped></style>
